package ch.ethz.fcl.metrobuzz.spatialindex;

import java.util.ArrayList;

import ch.ethz.fcl.metrobuzz.spatialindex.object3d.IObject3D;

public interface ISpatialIndex extends IBoundingBoxProvider {
	public void init();
	public void add(IObject3D object, int id);
	public boolean delete(IObject3D object, int id);
	
	public ArrayList<Integer> getIntersectingObjects(IObject3D bb);
	public ArrayList<Integer> getContainingObjects(IObject3D bb);
	
	public ArrayList<Integer> getObjects();
	
	public int size();
}
